package codingStudy.netEase2018Spring;

import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

/**
 * @author dell
 * @category 求集合元素的个数
 */
public class SetNumber {
	static int solve(int w, int x, int y, int z) {
		Set<Float> set = new HashSet<Float>();
		for(float p=w;p<x+1;p++){
			for(float q=y; q<z+1;q++){
				set.add( p/q);
			}
		}
		return set.size();
	}
	
	public static void main(String[] args) {
		/*Scanner sc = new Scanner(System.in);
		int w = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();*/
		System.out.println(solve(1,100,1,100));
	}
}
